package com.zhiche.lisa.bms.pojo.vo.util;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import java.util.Date;

/**
 * <p>
 * 运单货物明细
 * </p>
 */
public class ShipOrderItemVO {

    private static final long serialVersionUID = 1L;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 运单编号
     */
    private String shipOrderCode;
    /**
     * 订单货物编号
     */
    private Long orderItemId;
    /**
     * 所下订单中的原始货物标识信息(客户系统推送或录单人录入)
     */
    private String issueItemId;
    /**
     * 货物分组
     */
    private String material;
    /**
     * 创建时间
     */
    private Date gmtCreate;

    /**
     * 租户ID
     */
    private Long tenantId;

    /**
     * 唯一标识
     */
    private String itemSourceKey;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getShipOrderCode() {
        return shipOrderCode;
    }

    public void setShipOrderCode(String shipOrderCode) {
        this.shipOrderCode = shipOrderCode;
    }

    public Long getOrderItemId() {
        return orderItemId;
    }

    public void setOrderItemId(Long orderItemId) {
        this.orderItemId = orderItemId;
    }

    public String getIssueItemId() {
        return issueItemId;
    }

    public void setIssueItemId(String issueItemId) {
        this.issueItemId = issueItemId;
    }

    public String getMaterial() {
        return material;
    }

    public void setMaterial(String material) {
        this.material = material;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    public String getItemSourceKey() {
        return itemSourceKey;
    }

    public void setItemSourceKey(String itemSourceKey) {
        this.itemSourceKey = itemSourceKey;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ShipOrderItemVO{");
        sb.append("id=").append(id);
        sb.append(", shipOrderCode='").append(shipOrderCode).append('\'');
        sb.append(", orderItemId=").append(orderItemId);
        sb.append(", issueItemId='").append(issueItemId).append('\'');
        sb.append(", material='").append(material).append('\'');
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", tenantId=").append(tenantId);
        sb.append(", itemSourceKey='").append(itemSourceKey).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
